package jrain.fw.script.operator;

import jrain.fw.script.tools.Logger;

//乘法操作
public class MultiplyOperator extends ArithmeticOperator {

	public static final MultiplyOperator SINGLETON = new MultiplyOperator();

	public MultiplyOperator() {
	}

	public String getOperatorSymbol() {
		return "*";
	}

	public double apply(double pLeft, double pRight, Logger pLogger) {
		return pLeft * pRight;
	}

	public long apply(long pLeft, long pRight, Logger pLogger) {
		return pLeft * pRight;
	}

}
